package com.yjyw.tiexie.bean;

import java.util.List;

public class ContactsBean {

    /**
     * retcode : 200
     * msg : 请求成功
     * data : [{"mobile":"17703807638","isUser":1,"uid":"171255142481921","nickname":"王二小","headerImg":"http://img.bjmdbkj.com/uploadtest/20210928/n4SE5LAc95cover.jpg","relation":{"uid":"168915880574977","followUid":"171255142481921","relationState":3}}]
     */

    private int retcode;
    private String msg;
    /**
     * mobile : 17703807638
     * isUser : 1
     * uid : 171255142481921
     * nickname : 王二小
     * headerImg : http://img.bjmdbkj.com/uploadtest/20210928/n4SE5LAc95cover.jpg
     * relation : {"uid":"168915880574977","followUid":"171255142481921","relationState":3}
     */

    private List<DataBean> data;

    public int getRetcode() {
        return retcode;
    }

    public void setRetcode(int retcode) {
        this.retcode = retcode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String mobile;
        private int isUser;
        private String uid;
        private String nickname;
        private String headerImg;

        private String contactName;//通讯录的名字

        private boolean isSend;

        public boolean isSend() {
            return isSend;
        }

        public void setSend(boolean send) {
            isSend = send;
        }

        /**
         * uid : 168915880574977
         * followUid : 171255142481921
         * relationState : 3
         */

        private RelationBean relation;

        public String getContactName() {
            return contactName;
        }

        public void setContactName(String contactName) {
            this.contactName = contactName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public int getIsUser() {
            return isUser;
        }

        public void setIsUser(int isUser) {
            this.isUser = isUser;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getHeaderImg() {
            return headerImg;
        }

        public void setHeaderImg(String headerImg) {
            this.headerImg = headerImg;
        }

        public RelationBean getRelation() {
            return relation;
        }

        public void setRelation(RelationBean relation) {
            this.relation = relation;
        }

        public static class RelationBean {
            private String uid;
            private String followUid;
            private int relationState;

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getFollowUid() {
                return followUid;
            }

            public void setFollowUid(String followUid) {
                this.followUid = followUid;
            }

            public int getRelationState() {
                return relationState;
            }

            public void setRelationState(int relationState) {
                this.relationState = relationState;
            }
        }
    }
}
